package com.josn.weatherservicebackend.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class Geocode {
    @JsonProperty("formatted_address")
    private String formattedAddress;
    private String country;
    private String province;
    @JsonProperty("citycode")
    private String cityCode;
    private String city;
    private String district;
    private List<String> township;
    private Neighborhood neighborhood;
    private Building building;
    private String adcode;
    private List<String> street;
    private List<String> number;
    private String location;
    private String level;
}
